﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data.SqlClient;
using System.Data;

namespace HZ_TEST001
{
    public partial class Default : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void Submit_Click(object sender, EventArgs e)
        {
            string connStr = @"Data Source=(LocalDB)\v11.0;AttachDbFilename=|DataDirectory|\Project.mdf;Integrated Security=True";
            using (SqlConnection conn = new SqlConnection(connStr))
            {
                conn.Open();
                SqlCommand selectCmd = conn.CreateCommand();
            }

            Response.Redirect("Desktop.aspx");
        }
    }
}